<?php
if(!isset($RACINE)){
    // Definition des variables globales du site
    $RACINE="/mnt/147/sdb/f/c/hitmaxpro/SITE_SCRUM";
    $TITRE_SITE="Scrum by HITMAX";
    require $RACINE."/CONFIG/script.php";
    
    function noAccents($str){
        $txt=mb_strtolower($str, 'UTF-8');
        $search =explode(',','á,à,â,ä,ã,å,ç,é,è,ê,ë,í,ì,î,ï,ñ,ó,ò,ô,ö,õ,ú,ù,û,ü,ý,ÿ');
        $replace=explode(',','a,a,a,a,a,a,c,e,e,e,e,i,i,i,i,n,o,o,o,o,o,u,u,u,u,y,y');
        $txt=  str_replace($search,$replace,$txt);
        //$txt=  preg_replace('#[^a-zA-Z0-9\-\._]#', '_', $txt);
        return ucfirst($txt);
    }
}
?>
